<template>
  <el-descriptions
    title="个人中心"
    direction="vertical"
    :column="1"
    border
  >
    <el-descriptions-item  v-for="(item,index) in userInfor" :label="index">{{ item }}</el-descriptions-item>
  </el-descriptions>
  <el-avatar shape="square" :size="40" :src="''" />



</template>

<script setup lang="ts">
import { computed, reactive, ref } from "vue";

let userInfor=reactive(JSON.parse(sessionStorage.getItem("userInfor")));
delete userInfor.avatar;
console.log(userInfor);

</script>

<style scoped></style>
